home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
nivb
/
nwmess.bas
< prev
next >
Wrap
BASIC Source File
|
1995-05-09
|
2KB
|
26 lines
'NWMSG.BAS NetWare Message Services Interface for Visual Basic For Windows
'Version 1.0
'Novell Systems Research Department, Novell, Inc.
'Copyright (c) 1993, Novell, Inc.
'This interface is not supported through Novell's regular
'support channels. See README.TXT for more information.
Declare Function BroadcastToConsole Lib "NWNETAPI.DLL" (ByVal message$) As Integer
Declare Function CheckPipeStatus Lib "NWNETAPI.DLL" (connectionList&, resultList%, connectionCount&) As Integer '2.x only
Declare Function CloseMessagePipe Lib "NWNETAPI.DLL" (connectionList&, resultList%, connectionCount&) As Integer '2.x only
Declare Function DisableBroadcasts Lib "NWNETAPI.DLL" () As Integer
Declare Function EnableBroadcasts Lib "NWNETAPI.DLL" () As Integer
'messageBuffer must be initialized to 56 bytes
Declare Function GetBroadcastMessage Lib "NWNETAPI.DLL" (ByVal messageBuffer$) As Integer
Declare Function GetBroadcastMode Lib "NWNETAPI.DLL" () As Integer
'messageBuffer must be initialized to 127 bytes
Declare Function GetPersonalMessage Lib "NWNETAPI.DLL" (ByVal messageBuffer$, sourceConnection&) As Integer '2.x only
Declare Function LogNetWorkMessage Lib "NWNETAPI.DLL" (ByVal message$) As Integer '2.x only
Declare Function OpenMessagePipe Lib "NWNETAPI.DLL" (connectionList&, resultList%, ByVal connectionCount&) As Integer '2.x only
Declare Function SendBroadcastMessage Lib "NWNETAPI.DLL" (ByVal message$, connectionList&, resultList%, ByVal connectionCount&) As Integer
Declare Function SendPersonalMessage Lib "NWNETAPI.DLL" (ByVal message$, connectionList&, resultList%, ByVal connectionCount%) As Integer '2.x only
Declare Function SetBroadcastMode Lib "NWNETAPI.DLL" (ByVal broadcastMode%) As Integer